package com.hustbaidu.hustmapplacepro2;

import com.hustbaidu.hustmapplacepro2.R.layout;

import android.R.string;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.text.format.Time;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class LectureDetailActivity extends Activity {


	
	private TextView lecturename;
	private TextView person;
	private TextView time;
	private TextView place;
	private TextView type;
	
	
		
	private void findViews(){
		lecturename = (TextView)findViewById(R.id.lecture_name);
		person = (TextView)findViewById(R.id.person);
		time = (TextView)findViewById(R.id.time);
		place = (TextView)findViewById(R.id.place);
		type =(TextView)findViewById(R.id.type);
	}
	   

	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		
		super.onCreate(savedInstanceState);
		setContentView(R.layout.lecture_detail);
		
		findViews();
		Intent intent=getIntent();
		Bundle bundle=intent.getExtras();
		lecturename.setText(bundle.getString("lecture_name"));
		person.setText(bundle.getString("person"));
		time.setText(bundle.getString("time"));
		place.setText(bundle.getString("place"));
		type.setText(bundle.getString("type"));
		
		
	}

	
}
